# -*- coding: utf-8 -*-
"""
Created on Tue Oct 15 14:14:20 2019

@author: XCL01
"""

s = [1, 2, 3, 4, 5, 6]
def addfun(x):
    return x/2
a = list(map(addfun, s))
print(a)